<%--
  Created by IntelliJ IDEA.
  User: hellcat
  Date: 2020/3/16
  Time: 18:25
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@include file="extra/body.jsp" %>
<%--start--%>
<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-header">商品详情</div>
                <div class="layui-card-body">
                    <form class="layui-form" autocomplete="off">
                        <div class="layui-form-item">
                            <%--        第一排--%>
                            <div class="layui-inline">
                                <label class="layui-form-label">订单编号：</label>
                                <div class="layui-input-inline">
                                    <input id="saleOrderDetailsId" value="${order.id}" class="layui-input" type="text" readonly>
                                </div>
                                <label class="layui-form-label">订单单号：</label>
                                <div class="layui-input-inline">
                                    <input value="${order.orderId}" class="layui-input" type="text" readonly>
                                </div>
                                <label class="layui-form-label">订单金额：</label>
                                <div class="layui-input-inline">
                                    <input value="￥${order.amount}" class="layui-input" type="text" readonly>
                                </div>
                            </div>
                                <div class="layui-form-item">
                                <label class="layui-form-label">商品种数：</label>
                                <div class="layui-input-inline">
                                    <input value="${order.waresNum} 种" class="layui-input" type="text" readonly>
                                </div>

                                <label class="layui-form-label">创建时间：</label>

                                <div class="layui-input-inline">
                                    <input value='<fmt:formatDate value="${order.createDate}"
                                     pattern="yyyy-MM-dd HH:mm:ss"/>' class="layui-input" type="text" readonly>
                                </div>
                                <label class="layui-form-label">创建人：</label>
                                <div class="layui-input-inline">
                                    <input value="${order.creator}" class="layui-input" type="text" readonly>
                                </div>

                            </div>
                        </div>
                        <table class="layui-table" id="saleOrderDetailsTable"
                               lay-filter="saleOrderDetailsTable"></table>
                        <div style="text-align: center">
                            <button type="button" class="layui-btn layui-btn-normal
                         layui-btn-sm saleOrderTableBack">返回上页
                            </button>
                            <button type="button" class="layui-btn layui-btn-normal
                         layui-btn-sm" style="visibility:hidden;">占位占位占位占位
                            </button>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<%--end--%>
</div>
</div>
<script src="../static/js/saleOrder.js"></script>
<%@include file="extra/footer.jsp" %>
